<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>工资条</title>
    <link rel="stylesheet" href="../css/layui/css/layui.css">
    <style>
        body{
            user-select: none;
        }
        .main_div{
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%,-50%);
            width: 800px;
        }
        h2{
            margin: 0 auto;
            position: relative;
            left: 50%;
            transform: translate(-50%);
            display: inline-block;
            margin-bottom: 10px;
        }
        .orderno{
            margin-left: 5px;
        }
        .payoff_time{
            margin-left: 560px;
        }
        table{
            border-collapse: collapse;
            text-align: center;
            margin-top: 10px;
            
        }
        td{
            border: 1px solid black;
            width: 150px;
            height: 40px;
        }
    </style>
</head>
<body>
    <div class="main_div">
        <div>
            <h2>工资单</h2>
            <br>
            
            <span class="orderno" id="orderno">MLD2021020200004</span>
            <span class="payoff_time" id="payoff_time">日期：2016-02-02</span>
            <br>
        </div>
        <div>
            <table>
                <tr>
                    <td rowspan="2">姓名</td>
                    <td rowspan="2">基本工资</td>
                    <td rowspan="2">在职天数</td>
                    <td colspan="4">应发工资</td>
                    <td colspan="2">应扣工资</td>
                    <td rowspan="2">实发工资</td>
                </tr>
                <tr>
                    <td>工资</td>
                    <td>奖金</td>
                    <td>职务补贴</td>
                    <td>加班补贴</td>
    
                    <td>迟到、请假</td>
                    <td>缴税</td>
    
                </tr>
                </tr>
                    <td id="ename"></td>
                    <td id="base_salary"></td>
                    <td id="working_time"></td>
                    <!-- 应发工资 -->
                    <td id="base_salary2"></td>
                    <td id="bonus"></td>
                    <td id="subsidies"></td>
                    <td id="overtime_salary"></td>
    
                    <!-- 应扣工资 -->
                    <td id="leave_late"></td>
                    <td id="tax"></td>
    
                    <td id="salary_number"></td>
                <tr>
    
                </tr>
            </table>
        </div>
    </div>
</body>
</html>